//
//  MyUIDatePicker.h
//  cocoapodText
//
//  Created by apple on 16/8/20.
//  Copyright © 2016年 apple. All rights reserved.
//

#ifndef MyUIDatePicker_h
#define MyUIDatePicker_h


#endif /* MyUIDatePicker_h */
#import <UIKit/UIKit.h>

@class MyUIDatePicker;

@protocol FSMyUIDatePickerDelegate <NSObject>

@required //@required修饰的方法必须实现
-(void)onCancel:(MyUIDatePicker *)datePicker;
-(void)onQueren:(MyUIDatePicker *)datePicker;

@end
@interface MyUIDatePicker : UIView
@property(nonatomic,weak)UIButton *cancelPickerButton;
@property(nonatomic,weak)UIButton *quedingPickerButton;
@property(nonatomic,weak)UILabel *pickerTitle;
@property(nonatomic,weak)UIDatePicker *datePicker;

@property (nonatomic,strong) NSString  *Title;

#pragma mark - 属性
#pragma mark 代理属性，同时约定作为代理的对象必须实现FSMainSurveyInfoViewDelegate协议
@property (nonatomic,retain) id<FSMyUIDatePickerDelegate> delegate;

#pragma mark - 公共方法
#pragma mark 点击方法
-(void)cancel;
-(void)queren;

@end